package com.glodon.paas.search.model;

import java.util.List;

import javax.ws.rs.QueryParam;

/**
 * Revit构建
 * 
 * @author botao.liao
 * 
 */
public class RevitStructure extends IndexBase {
    private static final long serialVersionUID = 1L;
    @QueryParam("fileId")
    private String fileId;
    @QueryParam("structures")
    private List<KeyValue> structures;// 解析后的属性
    @QueryParam("content")
    private String content = "";// 构建原始字符串表示属性
    public String getFileId() {
        return fileId;
    }
    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public List<KeyValue> getStructures() {
        return structures;
    }

    public void setStructures(List<KeyValue> structures) {
        this.structures = structures;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String structure) {
        this.content = structure;
    }

    public static class KeyValue {
        private String key;
        private String value;

        public KeyValue() {
        }

        public KeyValue(String name, String value) {
            super();
            this.key = name;
            this.value = value;
        }

        public String getKey() {
            return key;
        }

        public void setKey(String name) {
            this.key = name;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
